package com.xiaoshuidi.cloud.module.rooms.api.apartment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "获取推荐门店的信息响应数据")
public class RecommendApartmentInfoRespVO {
    @Schema(description = "门店id")
    private Long apartmentId;
    @Schema(description = "门店名")
    private String apartmentName;
    @Schema(description = "门店地址")
    private String address;
    @Schema(description = "门店电话")
    private String storeTel;
    @Schema(description = "门店最低月租金")
    private Double price;

    @Schema(description = "图片url,多张采用英文逗号分割")
    private String picUrl;

    @Schema(description = "视频URL，多条采用英文逗号分割")
    private String videoUrl;

    @Schema(description = "vr封面url")
    private String vrPicUrl;
    @Schema(description = "vr URL,多条采用英文逗号分割")
    private String vrUrl;
    @Schema(description = "标签")
    private String tags;
    @Schema(description = "用户距离门店的距离")
    private Double meter;
    @Schema(description = "房型信息")
    private List<LayoutInfo> layoutInfos;

    @Data
    public static class LayoutInfo{
        @Schema(description = "房型id")
        private Long layoutId;
        @Schema(description = "房型图片")
        private String picUrl;
        @Schema(description = "房型名")
        private String name;
        @Schema(description = "价格")
        private String price;
        @Schema(description = "空房数量")
        private Integer emptyRoomNum;
        @Schema(description = "总房源数量")
        private Long roomNum;
    }
}
